package cn.qn.repository.member;

import cn.qn.moudle.security.MemberAccount;
import cn.qn.moudle.security.Role;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 角色持久层
 * @author Jeet
 * 2018年6月5日 12:53:55
 */
@Repository
public interface MemberAccountRepository extends JpaRepository<MemberAccount,Integer> {

    MemberAccount findMemberAccountByUserId(String userId);

    MemberAccount findMemberAccountByMobile(String mobile);
}
